/* 整体布局 [start] */
html,
body {
    min-height: 100vh;
}
body{
    padding-bottom: 50px;
}

#main {
    min-height: 100vh;
    background-color: #eef4f6;
}

#main .content {
    overflow: auto;
    height: 100%;
}
/* 整体布局 [end] */

/* 头部区域 [start] */
#main .content .head {
    height: 59px;
}

/* 医生姓名、患者姓名 [start] */
#main .content .head .doctor-info,
#main .content .head .patient-info {
    float: left;
    /* width: 45%; */
    height: 100%;
}
#main .content .head .patient-info{
    display: none;
}
#main .content .head .doctor-info .image,
#main .content .head .patient-info .image {
    float: left;
}

#main .content .head .doctor-info .image .text,
#main .content .head .patient-info .image .text {
    text-align: center;
    font-weight: 700;
    font-size: 14px;
}

#main .content .head .doctor-info .image img,
#main .content .head .patient-info .image img {
    height: 30px;
    margin-top: 5px;
}

#main .content .head .doctor-info .id,
#main .content .head .patient-info .id {
    float: left;
    margin-left: 5px;
}

#main .content .head .doctor-info .id .text,
#main .content .head .patient-info .id .text {
    font-size: 14px;
    text-align: center;
    font-weight: 700;
}

#main .content .head .doctor-info .id .name,
#main .content .head .patient-info .id .name {
    margin-top: 5px;
    font-size: 14px;
    text-align: center;
    line-height: 30px;
}
/* 医生姓名、患者姓名 [end] */

/* 患者姓名 [start] */
#main .content .head .patient-info {
    float: left;
    width: 33%;
    height: 100%;
}
/* 患者姓名 [end] */

/* 头部区域的操作按钮组 [start] */
#main .content .head .action-btn-group {
    display: none;
    position: relative;
    float: left;
    width: 33%;
    height: 100%;
}

#main .content .head .action-btn-group button {
    box-sizing: border-box;
    position: absolute;
    right: 0;
    display: block;
    height: 27px;
    padding: 4px 8px;
    padding-right: 20px;
    border-radius: 4px;
    border-width: 0;
    background-color: #a4dcee;
    font-size: 14px;
    cursor: pointer;
    outline: none;
}

#main .content .head .action-btn-group button:hover {
    background-color: #9e9eff;
}

#main .content .head .action-btn-group button svg {
    position: absolute;
    top: 6px;
    right: 3px;
    width: 15px;
    height: 15px;
}

#main .content .head .action-btn-group button svg path {
    fill: #4874cb;
}

#main .content .head .action-btn-group #select_patient {
    top: 0;
}

/* 头部区域适配  */
@media screen and (min-width: 576px) {
    #main .content .head {
        height: 100px;
        border-bottom: 1px solid #e8e5e5;
        padding-bottom: 10px;
    }

    #main .content .head .doctor-info .image .text,
    #main .content .head .patient-info .image .text {
        font-size: 18px;
    }

    #main .content .head .doctor-info .image img,
    #main .content .head .patient-info .image img {
        height: 50px;
        margin-top: 5px;
    }

    #main .content .head .doctor-info .id,
    #main .content .head .patient-info .id {
        margin-left: 20px;
    }

    #main .content .head .doctor-info .id .text,
    #main .content .head .patient-info .id .text {
        font-size: 18px;
    }

    #main .content .head .doctor-info .id .name,
    #main .content .head .patient-info .id .name {
        font-size: 16px;
        line-height: 50px;
    }

    #main .content .head .action-btn-group button {
        left: 50%;
        right: auto;
        height: 40px;
        margin-left: -65px;
        padding: 8px 20px;
        padding-right: 38px;
        border-radius: 4px;
        font-size: 18px;
    }

    #main .content .head .action-btn-group button svg {
        top: 11px;
        right: 10px;
        width: 18px;
        height: 18px;
    }

    #main .content .head .action-btn-group #select-patient {
        top: 0;
    }

    #main .content .head .action-btn-group #add-patient {
        top: 50px;
    }
}

/* 头部区域的操作按钮组 [end] */

/* 头部区域 [start] */

/*中间区域开始 */

#main .content .medium{
    margin-top: 2%;
}

#main .content .medium .patient-text{
    box-sizing: border-box;
    text-align: center;
    margin-bottom: 2%;
    border-style: solid ;
    border-width: 2px;
    border-color: gray;
    border-radius: 16px;
    font-size: 30px;
    width: 100%;
    background: lightblue;

}
#main .content .medium .patient-list{
	overflow-y: auto;
	max-height: 80vh;
}
#main .content .medium .patient-list.clearfix:after{
    content: "";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}



#main .content .medium .patient-list .patient{
    height: 80px;
    width: 45%;
    float: left;
    cursor: pointer;
    transition: all 0.3s ease;
}
#main .content .medium .patient-list .patient:hover{
        background: #e8f0f1;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
#main .content .medium .patient-list .patient .image,
#main .content .medium .patient-list .patient .id,
#main .content .medium .patient-list .patient .status{
    float: left;
}
#main .content .medium .patient-list .patient .image .text{
    text-align: center;
    font-size: 16px;
    font-weight: 700;
}
#main .content .medium .patient-list .patient .id .text{
    margin-left: 15px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
}
#main .content .medium .patient-list .patient .id .name{
    margin-top: 12px;
    margin-left: 10px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
}

#main .content .medium .patient-list .patient .status{
    margin-top: 22px;
    height: 27px;
    width: 27px;
    margin-left: 15px;
    fill: red;
}
@media screen and (max-width: 567px){
    #main .content .medium .patient-list .patient{
        box-sizing: border-box;
        padding-left: 40px;
        width: 100%;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    #main .content .medium .patient-list .patient:hover{
        background: #a3bfc9;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
}

/* 中间结束*/

/*底部开始 */
#main .content .heel {
    position: fixed;
    left: 0;
    bottom: 5px;
    width: 100%;
    height: 50px;
}

#main .content .heel button {
    display: block;
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 50px;
    margin: 0 auto;
    padding: 0;
    border-radius: 16px;
    border-width: 0;
    box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.2);
    text-align: center;
    line-height: 50px;
    font-size: 30px;
    cursor: pointer;
    transition: box-shadow .3s;
}

#main .content .heel button:hover {
    box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.4);
}

#main .content .heel button svg {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 40px;
    height: 40px;
    fill: #4f46e5;
}
